package com.ns.sbs.oauth.rent.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ns.sbs.oauth.rent.entry.RentServerEntry;
import com.ns.sbs.oauth.rent.mapper.RentServerMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 角色业务实现
 *
 * @author : liaowei
 * @version : v1.0.0
 * @since : 2024/8/24 22:03
 **/
@Service
@RequiredArgsConstructor
public class RentServerServiceImpl extends ServiceImpl<RentServerMapper, RentServerEntry> implements IRentServerService {

    private final RentServerMapper mapper;

    @Override
    public void delByRid(Long id) {
        mapper.delByRid(id);
    }

    @Override
    public List<Long> getByRid(Long id) {
        return mapper.getByRid(id);
    }
}
